package com.bs.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.bs.bean.Person;

public interface PersonDAO {
	public int delete(Person person);

	public int batchDelete(String ids);
	
	public List<Person> findForPaging(int start, int limit);

	public void save(Person person) throws DataAccessException;

	public int getMaxId();

	public Person findById(int id);

	public int totalCount();
	
	public Person findBySupportType(String supportType);
	
	public List<Person> query(Person person);
	
	public int update(Person person);

}
